var arr = [12, 34, 32, 89, 4]

console.log(Math.min(...arr)); // 4